home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / rr2310.arc / DOSCMD.SUM < prev    next >
Text File  |  1988-12-18  |  4KB  |  110 lines

  1.  
  2. CHDIR   [[d:]pathname]
  3. CD      Changes or displays working directory.
  4.  
  5. CLS     Clears the console screen.
  6.  
  7. COMP    [d:][path][filespec] [d:][path][filespec]
  8.         Compares the contents of files, listing differences.
  9.         No comparison will be made if the files are of different sizes.
  10.  
  11. COPY    [/A][/B] [d:][path][sourcefile] [[/A][/B][+[d:][path][sourcefile]]
  12.           [/A][/B][d:][path][destinationfile][/A][/B][/V]
  13.         Copies one or more source files to one or more destination files,
  14.         with or without concatenation. "/A" designates an ASCII (i.e., TEXT)
  15.         file. "/B" designates a binary file. "/V" verifies the copy
  16.         operation.
  17.  
  18. DATE    [mm-dd-yy │ dd-mm-yy │ yy-mm-dd]
  19.         Displays and/or sets the system date.
  20.  
  21. DEL     [d:][path]filespec
  22. ERASE   Deletes the designated file(S).
  23.  
  24. DIR     [d:][path][filespec][/P][/W]
  25.         Displays files and subdirectories, including size, date/time of
  26.         last change.
  27.  
  28. DISKCOPY [d: [d:]][/1]
  29.         Copies the contents of one floppy disk to another, track by track.
  30.         Source and destination drives can be the same. "/1" copies one side
  31.         only.
  32.         {**CAUTION** If not enough RAM is available to load the entire con-
  33.         tents of a diskette, DISKCOPY will produce a faulty copy without
  34.         warning.}
  35.  
  36. DISKCOMP [d: [d:]][/1][/8]
  37.         Compares the contents of one floppy disk with another, track by
  38.         track. Both drives can be the same. "/1" implies single sided use,
  39.         "/8" implies 8 sectors per track instead of 9.
  40.  
  41. ECHO    [ON │ OFF │ message]
  42.         Displays current status of batch Echo feature, turns echoing on/off,
  43.         or displays message.
  44.  
  45. FIND    [/V][/C][/N] "string" [[d:][path][filespec]...]
  46.         Searches for a text string in a [set of] file(s).
  47.  
  48. FOR     %%c IN (set-of-files) DO command  {in batch files}
  49.          %c IN (set-of-files) DO command  {from DOS prompt}
  50.         Repeats "command" for each file in "set-of-files".
  51.  
  52. GOTO    label
  53.         Transfers control in a batch file to "label".
  54.  
  55. IF      [NOT] string1 == string2 │ EXIST [d:][path]filespec │
  56.           ERRORLEVEL number  command
  57.         Executes "command" if the stated condition is [NOT] true.
  58.  
  59.  
  60. MKDIR   [d:]pathname
  61. MD      Creates a new subdirectory.
  62.  
  63. MORE    program | MORE │ MORE < datafile
  64.         Displays data in pages.
  65.  
  66. PATH    [[d:]path][[;[d:]path]...]
  67.         Establishes or displays search path for locating executable / batch
  68.         files.
  69.  
  70. PAUSE   [comment]
  71.         Suspends execution of a batch file, optionally displaying "comment".
  72.  
  73.  
  74. RENAME  [d:][path]filespec filespec
  75. REN     Renames a (set of) file(s).
  76.  
  77.  
  78. RMDIR   [d:]path
  79. RD      Removes an empty subdirectory.
  80.  
  81. SET     [string1=string2]
  82.         Sets an environment variable (string1) to a value (string2), or
  83.         displays the current environment.
  84.  
  85. SHIFT   Decreases the current index of each batch file parameter, and
  86.         eliminates the current %0 value.
  87.  
  88. SORT    SORT[/R][/+n] < datafile │ program | SORT[/R][/+n]
  89.         Sorts a data file or the output of a program on a field beginning
  90.         in col. "n". "/R" specifies a descending sort order.
  91.  
  92. TIME    [hh:mm[:ss[.cc]]]
  93.         Displays and/or sets the system time.
  94.  
  95. TREE    [d:][/F]
  96.         Displays the directory / file structure.
  97.  
  98. TYPE    [d:][path]filespec
  99.         Displays the contents of a file on the console.
  100.  
  101. VER     Displays the current DOS version number.
  102.  
  103. VERIFY  [ON │ OFF]
  104.         Turns disk verification on / off or displays current setting.
  105.  
  106. VOL     [d:]
  107.         Displays the volume name.
  108.  
  109.  
  110.